Enumeration of 4 x 4 magic squares
نویسندگان
چکیده
A magic square is an n × n array of distinct positive integers whose sum along any row, column, or main diagonal is the same number. We compute the number of such squares for n = 4, as a function of either the magic sum or an upper bound on the entries. The previous record for both functions was the n = 3 case. Our methods are based on inside-out polytopes, i.e., the combination of hyperplane arrangements and Ehrhart’s theory of lattice-point enumeration. 1. It’s a kind of magic A magic square is an n × n array of distinct positive integers whose sum along any row, column, or main diagonal is the same number, the magic sum. The history of magic squares is well documented; see, e.g., [8, 9, 21]. The contents of a magic square have varied with time and writer; usually they have been the first n consecutive positive integers, but often any arithmetic sequence and sometimes fairly arbitrary numbers. The fixed ideas are that they are integers, positive, and distinct. In the last century mathematicians took an interest in results about the number of squares with a fixed magic sum, but with simplifications: diagonal sums were often omitted and the fundamental requirement of distinctness was almost invariably neglected [1, 3, 11, 16]. For example, classical formulas of MacMahon [15] include
منابع مشابه
Enumeration of 4× 4 Magic Squares
A magic square is an n × n array of distinct positive integers whose sum along any row, column, or main diagonal is the same number. We compute the number of such squares for n = 4, as a function of either the magic sum or an upper bound on the entries. The previous record for both functions was the n = 3 case. Our methods are based on inside-out polytopes, i.e., the combination of hyperplane a...
متن کاملA ug 2 00 9 ENUMERATION OF 4 × 4 MAGIC SQUARES
A magic square is an n × n array of distinct positive integers whose sum along any row, column, or main diagonal is the same number. We compute the number of such squares for n = 4, as a function of either the magic sum or an upper bound on the entries. The previous record for both functions was the n = 3 case. Our methods are based on inside-out polytopes, i.e., the combination of hyperplane a...
متن کاملNumerical Enumeration of Greco-Latin Prime Order Associative Magic Squares
A magic square of order n consists of the numbers 1 to n placed such that the sum of each row, column and principal diagonal equals the magic sum n(n +1)/2. In addition, an odd ordered magic square is associative or self-complementary if diagonally opposite elements have the same sum (n +1)/2. The magic square is said to be regular Greco-Latin if it can be decomposed as a sum of a pair of Latin...
متن کاملStrongly symmetric self-orthogonal diagonal Latin squares and Yang Hui type magic squares
Keywords: Self-orthogonal Latin square Strongly symmetric Magic square Yang Hui type a b s t r a c t In this paper, a strongly symmetric self-orthogonal diagonal Latin square of order n with a special property (* SSSODLS(n)) is introduced. It is proved that a * SSSODLS(n) exists if and only if n ≡ 0 (mod 4) and n ̸ = 4. As an application, it is shown that there exists a Yang Hui type magic squar...
متن کاملRepresentations of Genetic Tables, Bimagic Squares, Hamming Distances and Shannon Entropy
In this paper we have established relations of the genetic tables with magic and bimagic squares. Connections with Hamming distances, binomial coefficients are established. The idea of Gray code is applied. Shannon entropy of magic squares of order 4 × 4, 8 × 8 and 16 × 16 are also calculated. Some comparison is also made. Symmetry among restriction enzymes having four letters is also studied.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Math. Comput.
دوره 80 شماره
صفحات -
تاریخ انتشار 2011